//
//  BarnnerView.h
//  yixintong
//
//  Created by longzhiyuan on 15/6/8.
//
//

#import <UIKit/UIKit.h>

@protocol BarnnerDelegate <NSObject>
-(void)selectBannerImg:(NSString*)tagId;
;
@end



@interface BannerView : UIView<UIScrollViewDelegate>
{
    BOOL directions;
}
@property (nonatomic,retain)id<BarnnerDelegate>delegate;
@property (nonatomic,assign)NSUInteger totalPage;
@property (nonatomic,retain)NSTimer*timer;
@property (retain, nonatomic) IBOutlet UIScrollView *bgScroll;
@property (retain, nonatomic) IBOutlet UIPageControl *pageCtrl;
@property (nonatomic,assign)BOOL blnInitData;
-(void)initData:(NSMutableArray*)arr imgBounds:(CGRect)bounds;
-(void)stop;
-(void)start;
-(void)pause:(BOOL)bln;

@end
